package com.fulihui.information.dal.dataobj;

import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;

import java.util.Date;

import static com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant.*;

@Table("info_dynamic_navbar")

public class InfoDynamicNavbar extends InfoDynamicNavbarKey {


    @Column(name = "text", type = VARCHAR)
    private String text;

    @Column(name = "icon", type = VARCHAR)
    private String icon;

    @Column(name = "activity_icon", type = VARCHAR)
    private String activityIcon;

    @Column(name = "option_type", type = VARCHAR)
    private String optionType;

    @Column(name = "content", type = VARCHAR)
    private String content;

    @Column(name = "show_state", type = VARCHAR)
    private String showState;

    @Column(name = "operator", type = VARCHAR)
    private String operator;

    @Column(name = "operator_name", type = VARCHAR)
    private String operatorName;

    @Column(name = "gmt_create", type = DATETIME)
    private Date gmtCreate;

    @Column(name = "gmt_modified", type = DATETIME)
    private Date gmtModified;


    @Column(name = "version", type = INT)
    private Integer version;

    @Column(name = "os_type", type = VARCHAR)
    private String osType;

    @Column(name = "navbar_code", type = VARCHAR)
    private String navbarCode;

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text == null ? null : text.trim();
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon == null ? null : icon.trim();
    }

    public String getActivityIcon() {
        return activityIcon;
    }

    public void setActivityIcon(String activityIcon) {
        this.activityIcon = activityIcon == null ? null : activityIcon.trim();
    }

    public String getOptionType() {
        return optionType;
    }

    public void setOptionType(String optionType) {
        this.optionType = optionType == null ? null : optionType.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getShowState() {
        return showState;
    }

    public void setShowState(String showState) {
        this.showState = showState == null ? null : showState.trim();
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator == null ? null : operator.trim();
    }

    public String getOperatorName() {
        return operatorName;
    }

    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName == null ? null : operatorName.trim();
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    @Override
    public Integer getVersion() {
        return version;
    }

    @Override
    public void setVersion(Integer version) {
        this.version = version;
    }

    @Override
    public String getOsType() {
        return osType;
    }

    @Override
    public void setOsType(String osType) {
        this.osType = osType;
    }

    @Override
    public String getNavbarCode() {
        return navbarCode;
    }

    @Override
    public void setNavbarCode(String navbarCode) {
        this.navbarCode = navbarCode;
    }
}